#include "BattleProcess.h"
#include "TypeDefine.h"


BattleProcess::BattleProcess()
{

}


BattleProcess::BattleProcess( Battle* pBattle )
{

}


BattleProcess::~BattleProcess()
{

}


void BattleProcess::battleStart()
{
	m_pBattle->onBattleStart();
	while (m_nBattleRound < MaxBattleRounds)
	{
		m_nBattleRound++;
		processRound(m_nBattleRound);
		if (m_bBattleFinish)
		{
			break;
		}
	}
	m_pBattle->onBattleEnd();
	createBattleResult();
}

void BattleProcess::createBattleResult()
{

}
